package com.ityunhe.biz;

import com.ityunhe.bean.Account;
import com.ityunhe.bean.Garden;
import com.ityunhe.dao.GardenAccountDao;
import com.ityunhe.dao.LogOutDao;
import com.ityunhe.dao.UserAccountDao;
import com.ityunhe.dao.impl.GardenAccountDaoImpl;
import com.ityunhe.dao.impl.LogOutDaoImpl;
import com.ityunhe.dao.impl.UserAccountDaoImpl;

public class LogOutBis {
	//登录
		public  Account accountLogin(Account account ){
			//普通用户登录
				Account acccountTemp=null;
				LogOutDao logOutDao = new  LogOutDaoImpl();
				acccountTemp = logOutDao.acconutLogin(account);
				return acccountTemp;				
		}
		public Garden gardenlogin(Garden garden){
			Garden gardenTemp=null;
			LogOutDao logOutDao = new  LogOutDaoImpl();
			gardenTemp = logOutDao.gardenLogin(garden);
			return gardenTemp;
		} 
}
